home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Amiga Amateur Radio User Group
/
AARUG UK #81 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].zip
/
AARUG UK #81 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].adf
/
DisView
/
!ENVIRON.TXT
< prev
next >
Wrap
Text File
|
1995-05-29
|
3KB
|
88 lines
============ DISview [518]
!ENVIRON.TXT
============
=========================
DOS Environment Variables
=========================
The following DOS environment variables can be used to specify
parameters to NET, the PCElm mailer and the SNEWS News reader.
These variables are initialised with the DOS 'SET' command.
-----------------------------------------------------------------
COMSPEC Default: COMMAND.COM
-----------------------------------------------------------------
COMSPEC specifies the command shell to be used when shelling out
of NOS with the 'sh' or '!' command.
>> Example: SET COMSPEC=C:\4DOS\4DOS.COM
-----------------------------------------------------------------
HOME or PCELM
-----------------------------------------------------------------
HOME or PCELM specify the location of the incoming mail
directory and the PCElm/SNEWS alias file. Normally HOME is used
for this, but PCELM may be used instead if HOME conflicts with
other applications.
>> Examples: SET HOME=C:\DEMON\SPOOL\MAIL
SET PCELM=C:\DEMON\SPOOL\MAIL
-----------------------------------------------------------------
SNEWS
-----------------------------------------------------------------
SNEWS specifies the location of the News control files, including
active, expire.dat and the SNEWS signature files.
>> Example: SET SNEWS=C:\DEMON\SPOOL\NEWS
-----------------------------------------------------------------
TMP
-----------------------------------------------------------------
TMP specifies the directory to be used for temporary files.
>> Example: SET TMP=C:\TEMP
-----------------------------------------------------------------
TZ or GTZ
-----------------------------------------------------------------
TZ or GTZ specify the local timezone. Normally TZ is used for
this, but GTZ may be used instead if TZ conflicts with other
applications.
>> Example: SET TZ=GMT0BST1,M3.4.0/02:00,M10.4.0/02:00
---------------------------------
Environment Variable Substitution
---------------------------------
Environment variables can be substituted into KA9Q commands, by
preceding the variable name with a $.
For example, if C:\AUTOEXEC.BAT contains this:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SET SL=sl0
SET DIAL=dialer
IF %1.==isdn. SET SL=sl1
IF %1.==isdn. SET DIAL=isdn
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
then ~/autoexec.net can contain this:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
route add default $SL
dialer $SL $DIAL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~